package com.example.myserver.es.entity;


import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author by Jiang Xiaomin
 * @desrc:
 */
@Data
@ToString
@Builder
public class ESProperty implements Serializable {

    private static final long serialVersionUID = -3756519415038425532L;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String value;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String unit;
}
